package cate.common.table.activity.zonelimit.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("宝箱奖励")
public class ZoneLimitBoxRow extends ERow {

    @NoteField("奖励ID")
    public int rwdTid;

    @NoteField("档位")
    public int priceNo;

    @NoteField("次数")
    public int num;

    @NoteField("奖励")
    public String rwdStr;

//    @NoteField("天数")
//    public int day;

    @NoteField("奖励分组")
    public int rwdGroup;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID", 0);
        this.rwdTid = xrw.getInteger("奖励ID",0);
        this.priceNo = xrw.getInteger("档位",0);
        this.num = xrw.getInteger("次数",0);
        this.rwdStr = xrw.getString("奖励" );
//        this.day = xrw.getInteger("天数", 0);
        this.rwdGroup = xrw.getInteger("奖励分组",0);
    }
}
